home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 015 / vps11.arc / LASERJT.VPS < prev    next >
Text File  |  1986-06-11  |  2KB  |  58 lines

  1.   *-----------------------------------------------------------------*
  2.   *                                                                 *
  3.   * This example shows some of the simpler LASERJET printer control *
  4.   * sequences. It does not take advantage of capabilities that may  *
  5.   * be available for specific font cartridges. This example will    *
  6.   * give you some idea of what can be done, but will have to be     *
  7.   * modified to suit your personal situation.                       *
  8.   *-----------------------------------------------------------------*
  9.  
  10. @TITLE=HP LaserJet Printer Setup
  11. @WRITDATA=This is some test data, which can be used to verify options.
  12.  
  13.   *-----------------------------------------------------------------*
  14.   *  NOTE the different formats of the two @LPT statements. The     *
  15.   *  first is used to establish the default printer; the second is  *
  16.   *  used to indicate that output for LPT1 is being routed to the   *
  17.   *  COM2 port. This statement must be used for any serial printer  *
  18.   *  which has output routed to it via a DOS MODE command.          *
  19.   *-----------------------------------------------------------------*
  20.  
  21. @LPT=1
  22. @LPT1=COM2:
  23. A-Portrait=27,"&l0O"
  24. B-Landscape=27,"&l1O"
  25. C-10 CPI=27,"(s10","H"
  26. D-12 CPI=27,"(s12","H"
  27. E-16.66 CPI=27,"(s16",".6H"
  28. F-7  point=27,"(s7V"
  29. G-8  point=27,"(s8V"
  30. H-10 point=27,"(s10","V"
  31. I-12 point=27,"(s12","V"
  32. J-14 point=27,"(s14",".4V"
  33. K-Upright=27,"(s0S"
  34. L-Italic=27,"(s1S"
  35. M-Light stroke=27,"(s-3","B"
  36. N-Medium stroke=27,"(s0B"
  37. O-Bold stroke=27,"(s3B"
  38. P-Courier=27,"(s3T"
  39. Q-Helv=27,"(s4T"
  40. R-TMS RMN=27,"(s5T"
  41. S-Prestige=27,"(s8T"
  42. T-Gothic=27,"(s6T"
  43. U-60 Lines/Page=27,"&l60","P"
  44. V-45 Lines/Page=27,"&l45","P"
  45. W-Write text=WRIT
  46. X-8 LPI=27,"&l8D"
  47. Y-FORM FEED=12
  48.  
  49.  *------------------------------------------------------------*
  50.  * NOTE the use of the CLRB control code with the printer     *
  51.  * reset code. This insures that the bullets beside selected  *
  52.  * options are cleared when the printer is reset.             *
  53.  *------------------------------------------------------------*
  54.  
  55. Z-RESET=27,"E",CLRB
  56. 1-Shift OUT=14
  57. 2-Shift IN=15
  58. 3-USASCII=27,"(0U"